package com.liangzhong.manager
{
	import flash.system.*;
	/**
	 * 声音管理接口
	 * @author lxh
	 * 
	 */	
	public interface ISoundManager
	{
		function playSound(name:String, loop:Boolean = false, appDomain:ApplicationDomain = null) : void;
		
		function stopSound(name:String) : void;
		
		function playMusic(name:String, loop:Boolean = false, appDomain:ApplicationDomain = null):void;

		function stopMusic(name:String) : void;
		
		function setMusicVolume(name:String,value :Number = 1):void;
		
		function stopAll() : void;
		
		function start() : void;
	}
}